# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.conf.urls import patterns, url

# Article patterns.
urlpatterns = patterns("article.views",
                       url("^article/xmlrpc/$", "article_xmlrpc", name="article_xmlrpc"),  # xmlrpc接口

                       url("^article/category/(?P<category>.*)/$", "article_post_list",
                           name="article_post_list_category"),
                       url("^article/(?P<slug>.*)/$", "article_post_detail", name="article_post_detail"),
                       url("^article/$", "article_post_list", name="article_post_list"),
                       )
